package com.cirkana.viewer.location;

import com.cirkana.viewer.comm.Communicator;

import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;

public class MapLocationListener implements LocationListener {

	private Communicator comm;

	public MapLocationListener(Communicator comm) {
		this.comm = comm;
	}

	@Override
	public void onLocationChanged(Location location) {
		this.comm.addChangeLocationMessage(location);
	}

	@Override
	public void onProviderDisabled(String provider) {
	}

	@Override
	public void onProviderEnabled(String provider) {
	}

	@Override
	public void onStatusChanged(String provider, int status, Bundle extras) {
	}

}